﻿<%@ Page Language="C#" MasterPageFile="~/Shared/FormPage.Master" AutoEventWireup="true" CodeBehind="AgentDispatchOrderViewWithCallbackInfo.aspx.cs" Inherits="Microsoft.JCI.Portal.Dispatch.AgentDispatchOrderViewWithCallbackInfo" Title="派工单查看" StylesheetTheme="GlobleTheme"%>
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register src="../UserControl/CustomerCtrl.ascx" tagname="CustomerCtrl" tagprefix="uc1" %>
<%@ Register src="../UserControl/ProductCtrl.ascx" tagname="ProductCtrl" tagprefix="uc2" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register assembly="RadInput.Net2" namespace="Telerik.WebControls" tagprefix="rad" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Content/global.js" type="text/javascript"></script>

    <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Grid/Grid.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function CheckForm() {

            return true;
        }
    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFormArea" runat="server">
<div id="areaForm2" class="area">
    <table class="mnubar" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="9">
                        <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif">
                    </td>
                    <td class="icMenu" nowrap>
                        <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server" Visible="false"
                            OnClientClick="return CheckForm();" onclick="lnkbtnSaveAndClose_Click"><span class="menu" title="保存&amp;关闭" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存&amp;关闭</span></span></asp:LinkButton>
                        <asp:LinkButton ID="lnkbtnSaveAndNew" runat="server"  Visible="false"
                            OnClientClick="return CheckForm();" onclick="lnkbtnSaveAndNew_Click"><span class="menu" title="保存&amp;新增"><img class="mnuBtn" src="../Content/Menu/SaveNew_16_blue.gif"><span class="mnuBtn">保存&amp;新增</span></span></asp:LinkButton>
                        <img src="../Content/Menu/separator.gif">
                        <span class="menu" title="关闭" onclick="window.close();">
                            <img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>
                    </td>
                </tr>
            </tbody>
        </table>
                <div style="display: inline" id="Div4" class="tab">
            <table width="100%">
                <tr>
                    <td>跟客户预约时间：</td>
                    <td>
                        <rad:RadDateTimePicker ID="RadDatePicker_ReservationDate" runat="server" Skin="WebBlue">
                        </rad:RadDateTimePicker> 
                    </td>
                </tr>
            </table>
        </div>
         <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>客户信息</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table> 
        
        <div style="display: inline" id="appForm_tab0" class="tab">
           <uc1:CustomerCtrl ID="ucCustomerCtrlInfo" runat="server" />
        </div>
                     
        <div style="margin: 5px 0 5px 0">
        </div>  
        
        <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>客户产品信息</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table>
      
        <div style="display: inline" id="Div1" class="tab">
            <uc2:ProductCtrl ID="ProductCtrl1" runat="server" />
        </div> 
          <div style="margin: 5px 0 5px 0">
        </div>  
        
        <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>服务历史</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table>
        <rad:RadGrid runat="server" ID="radgridFormHistoryList" AutoGenerateColumns="False" AllowSorting="false" OnItemDataBound="radgridFormHistoryList_ItemDataBound">
         <ClientSettings EnableClientKeyValues="True">
             <Selecting AllowRowSelect="True" />
         </ClientSettings>
         <MasterTableView DataKeyNames="DispatchFormId">
             <Columns>
             <rad:GridBoundColumn HeaderText="单号" DataField="FormCode"></rad:GridBoundColumn>
             <rad:GridTemplateColumn HeaderText="单据类型">
                 <ItemTemplate>
                     <asp:Label ID="lblFormCategory" runat="server"></asp:Label>
                 </ItemTemplate>
             </rad:GridTemplateColumn> 
             <rad:GridBoundColumn HeaderText="来电时间" DataField="CreateOn"></rad:GridBoundColumn>
             <rad:GridTemplateColumn HeaderText="操作">
             <ItemTemplate>
                 <asp:LinkButton ID="lnkbtnViewDispatch" runat="server">查看</asp:LinkButton>
             </ItemTemplate>
             </rad:GridTemplateColumn>
             </Columns>
         </MasterTableView>
     </rad:RadGrid>
          <div style="margin: 5px 0 5px 0">
        </div>  

        <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>报修信息</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table>
        
        <div style="display: inline" id="Div2" class="tab">
            <asp:RadioButtonList ID="rblFormCategory" runat="server" 
                RepeatDirection="Horizontal" AutoPostBack="True" 
                onselectedindexchanged="rblFormCategory_SelectedIndexChanged" 
                Enabled="False"></asp:RadioButtonList>
                  <table style="table-layout: fixed" id="Table1" cellspacing="0" cellpadding="3" width="100%">
                <colgroup>
                    <col width="110">
                    <col>
                    <col width="110">
                    <col>
                </colgroup>
                <tbody>
                    <tr>
                            <td align="left">发现时间</td>
                             <td colspan="3"> <rad:RadDatePicker ID="RadDatePickerM_DiscoverDate" Runat="server" Skin="WebBlue">
                </rad:RadDatePicker></td>
                        </tr>    
                        </tbody>
                        </table>  
            <asp:Panel ID="pnlFormTypeMaintain" runat="server">
              <table style="table-layout: fixed" id="Table2" cellspacing="0" cellpadding="3" width="100%">
                <colgroup>
                    <col width="110">
                    <col>
                    <col width="110">
                    <col>
                </colgroup>
                <tbody>
                        <tr style="display:none">
                            <td class="req">
                                来源</td>
                            <td>
                                <asp:DropDownList ID="ddlM_IssueSource" runat="server" CssClass="selectBox"></asp:DropDownList>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                报修类型</td>
                            <td>
                                <asp:DropDownList ID="ddlM_MaintainType" runat="server">
                                    <asp:ListItem Text="开机" Value="开机"></asp:ListItem>
                                    <asp:ListItem Text="保内" Value="保内"></asp:ListItem>
                                    <asp:ListItem Text="保外" Value="保外"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                报故障位置</td>
                            <td>                                             
                                <asp:DropDownList ID="ddlM_Priority" runat="server">
                                <asp:ListItem Text="内机" Value="内机"></asp:ListItem>
                                <asp:ListItem Text="外机" Value="外机"></asp:ListItem>
                                <asp:ListItem Text="管路" Value="管路"></asp:ListItem>
                                </asp:DropDownList>
                            </td> 
                        </tr>  
                             <tr>
                            <td>
                                个性服务</td>
                            <td>
                                <asp:TextBox ID="txtM_PersonalityService" runat="server" CssClass="input"></asp:TextBox>
                                           </td>
                            <td align="right">
                                总部约定</td>
                            <td>                                             
                                <asp:TextBox ID="txtM_HQappoint" runat="server" CssClass="input"></asp:TextBox>
                            </td> 
                        </tr>
                         <tr>
                            <td align="left">
                                故障描述</td>
                            <td colspan="3"> 
                                <asp:TextBox ID="txtM_RepairContent" runat="server" CssClass="input" Height="39px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>                                                        
                         <tr>
                            <td align="left">
                                备注</td>
                            <td colspan="3"> 
                                <asp:TextBox ID="txtM_Remark" runat="server" CssClass="input" Height="39px" 
                                    TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>                                                        
                    </tbody>
            </table>
            </asp:Panel>            
            <asp:Panel ID="pnlFormTypeComplaint" runat="server">
             <table style="table-layout: fixed" id="Table3" cellspacing="0" cellpadding="3" width="100%">
                <colgroup>
                    <col width="110">
                    <col> 
                </colgroup>
                <tbody>
                        <tr>
                            <td class="req">
                                投诉描述</td>
                            <td>
                                <asp:TextBox ID="txtComplaintDesc" runat="server" Height="60px" 
                                    TextMode="MultiLine" Width="400px"></asp:TextBox>
                            </td>
                        </tr>
                     </tbody>
                  </table>
            </asp:Panel>
            <asp:Panel ID="pnlFormTypeAdvisory" runat="server">
             <table style="table-layout: fixed" id="Table4" cellspacing="0" cellpadding="3" width="100%">
                <colgroup>
                    <col width="110">
                    <col> 
                </colgroup>
                <tbody>
                        <tr>
                            <td class="req">
                                咨询描述</td>
                            <td>
                                <asp:TextBox ID="txtAdvisoryDesc" runat="server" Height="60px" Width="400px"></asp:TextBox>
                            </td>
                        </tr>
                     </tbody>
                  </table>
            </asp:Panel>
        </div> 
        
         <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>派工信息</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table>
        
          <div style="display: inline" id="Div3" class="tab">
            <table cellpadding="3" cellspacing="0" style="table-layout: fixed" width="100%">
                <tr> 
                    <td><asp:Label ID="lblBranch" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr> 
                    <td><asp:Label ID="lblVendor" runat="server" Text=""></asp:Label></td> 
                </tr>
            </table>
          </div>
          
           <div style="margin: 5px 0 5px 0">
        </div>            
           <table class="mnubar" cellspacing="0" cellpadding="0" height="400px">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>回访内容</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>
                    </td>
                    <td class="icMenu mnuRight" nowrap>
                    </td>
                </tr>
            </tbody>
        </table>       
        
        <div style="display: inline" id="Div5" class="tab">
         <table style="table-layout: fixed" id="Table5" cellspacing="0" cellpadding="3" width="100%">
                <colgroup>
                    <col width="200">
                    <col>
                    <col width="200">
                    <col>
                </colgroup>
                <tbody>                   
                        <tr>
                            <td  align="right">
                                是否发现问题并已修复
                            </td>                         
                            <td align="left">
                            <asp:DropDownList runat="server" ID="ddlTechnologyScore">
                                <asp:ListItem Text="发现问题并修复" Value="10"></asp:ListItem>
                                <asp:ListItem Text="发现问题,因更换零件或需专有设备,要再次上门维修,已和用户沟通" Value="6"></asp:ListItem>
                                <asp:ListItem Text="没有发现问题,故障也没有清除,但约好下次维修时间" Value="2"></asp:ListItem>
                                <asp:ListItem Text="没有发现问题,故障也没有清除,也没约好下次复查时间" Value="0"></asp:ListItem>
                            </asp:DropDownList>
                            </td>
                            </tr>
                            <tr>
                                <td align="right">是否更换了零件<asp:CheckBox ID = "chkHasChangeAccessory" runat="server" /></td>
                                <td align="left">更换内容<asp:TextBox ID="txtAccessory" runat="server" Width="200px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right">是否有收费<asp:CheckBox ID="chkHasReceiveFee" runat="server" /></td>
                                <td align="left">收费金额   <rad:RadNumericTextBox ID="txtFee" Runat="server"></rad:RadNumericTextBox></td>
                            </tr>
                            
                            <tr>                            
                            <td align="right">请您对本次服务人员的服务态度，服务意识，行为规范做个评价。</td>
                            <td  align="left"> 
                            <asp:DropDownList runat="server" ID="ddlServiceStandard">   
                                <asp:ListItem Text="一般" Value="6"></asp:ListItem>
                                <asp:ListItem Text="满意" Value="10"></asp:ListItem>
                                <asp:ListItem Text="不满意" Value="4"></asp:ListItem>
                            </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td align="right">约定上门及时性评价</td>
                                <td  align="left">
                                <asp:DropDownList runat="server" ID = "ddlVisitTimelyScore">
                                    <asp:ListItem Text="4小时以内" Value="6"></asp:ListItem>
                                    <asp:ListItem Text="准时" Value="10"></asp:ListItem>
                                    <asp:ListItem Text="大于4小时(当天内)" Value="4"></asp:ListItem>
                                    <asp:ListItem Text="爽约" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">办事处派工速度</td>
                                <td  align="left">
                                   <asp:DropDownList runat="server" ID = "ddlDispatchTimelyScore">
                                    <asp:ListItem Text="4小时内与客户联系好，并反馈400" Value="4"></asp:ListItem>
                                    <asp:ListItem Text="2小时内与客户联系好，并反馈400" Value="10"></asp:ListItem>
                                    <asp:ListItem Text="大于4小时内与客户联系好，并反馈400" Value="0"></asp:ListItem>                                   
                                </asp:DropDownList>
                                </td>
                            </tr>
                              <tr>
                                <td align="right">服务商的工作态度评价</td>
                                <td  align="left">
                                   <asp:DropDownList runat="server" ID = "ddlServiceProviderAttitudeScore">
                                    <asp:ListItem Text="维修当天反馈" Value="10"></asp:ListItem>
                                    <asp:ListItem Text="隔天下班前反馈" Value="6"></asp:ListItem>
                                    <asp:ListItem Text="第三天以后反馈" Value="0"></asp:ListItem>                                   
                                </asp:DropDownList>
                                </td>
                                </tr>
                                 <tr>
                                <td align="right">您觉得我们的服务在哪些方面需要提高</td>
                                <td><asp:TextBox runat="server" ID ="txtSummary" TextMode="MultiLine"></asp:TextBox></td>
                                </tr>
                </tbody>
        </table>  
        </div>
    </div>
</asp:Content>
